#include<stdio.h>
main()
{
	int a,b,r;
	float s;
	scanf("%d%d",&a,&b);
	s=(float)a/b;
	r=a%b;
	printf("s=%.2f\n,r=%d\n",s,r);
}
